using System.Collections.Generic;
using System.Linq;
using System;
using System.Runtime.InteropServices;

namespace MyUtils
{
	static class NativeMethods
	{
		//static extern int MessageBox(HandleRef hWnd, string text, string caption, int type);

		[DllImport("user32", CharSet = CharSet.Unicode)]
		public static extern IntPtr FindWindow(IntPtr zeroOnly, string lpWindowName);

		[return: MarshalAs(UnmanagedType.Bool)]
		[DllImport("user32")]
		public static extern bool PostMessage(HandleRef hWnd, uint msg, IntPtr wParam, IntPtr lParam);
	}
}